﻿using MachineVision.Service.Dto;

namespace MachineVision.Service
{
    public interface ITemperatureService
    {
        List<TemperatureRes> GetDatas(int pageNum = 1, int pageSize = 10, DateTime? TimeBegin = null, DateTime? TimeEnd = null);
        List<TemperatureRes> GetDayDatas(int pageNum, int pageSize , DateTime date);
        List<TemperatureRes> Get24Datas(DateTime date,int num);
        TemperatureRes GetData(int Id);
        bool AddData(TemperatureReq res);
        bool ModifyData(int Id, TemperatureReq value);
    }
}